package com.wxb.service.impl;

import com.wxb.domain.MallChannelEntity;
import com.wxb.mapper.MallChannelMapper;
import com.wxb.service.IMallChannelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Date 2025-05-30 10:53
 * @Version 1.0
 * @Description
 * @ClassName MallChannelServiceImpl
 **/
@Service
public class MallChannelServiceImpl implements IMallChannelService {
    @Autowired
    private MallChannelMapper channelDao;


    public MallChannelEntity queryObject(Integer id) {
        return channelDao.queryObject(id);
    }


    public List<MallChannelEntity> queryList(Map<String, Object> map) {
        return channelDao.queryList(map);
    }


    public int queryTotal(Map<String, Object> map) {
        return channelDao.queryTotal(map);
    }


    public void save(MallChannelEntity order) {
        channelDao.save(order);
    }


    public void update(MallChannelEntity order) {
        channelDao.update(order);
    }


    public void delete(Integer id) {
        channelDao.delete(id);
    }


    public void deleteBatch(Integer[] ids) {
        channelDao.deleteBatch(ids);
    }

}
